var express = require('express')
var Router = express.Router()


var OperationOfDatabase=require('../databaseManage/OperationOfDatabase')
var db=new OperationOfDatabase();

 
Router.get('/', function (req, res) {
   var user_name=req.query.user_name;
   var password=req.query.password;
   db.getUserDataByNameAndPassword(user_name,password,res);
   //res.send('<h1>服务器端响应了login功能</h1>')
})
module.exports = Router;